﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/User.Master" CodeBehind="Profile.aspx.vb" Inherits="GoodAnotApp.Profile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 208px;
        }
        .style5
        {
            width: 236px;
        }
        .style6
        {
            width: 127px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel1" runat="server">
        Profile<br />
        <table style="width:100%;">
            <tr>
                <td class="style3">
                    <asp:Label ID="lblEmail" runat="server" Text="Email Address"></asp:Label>
                </td>
                <td class="style5">
                    <asp:Label ID="lblDisplayEmail" runat="server" Text="Label"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="lblName" runat="server" Text="Display Name"></asp:Label>
                </td>
                <td class="style5">
                    <asp:TextBox ID="tbxDisplayName" runat="server" Width="223px" Enabled="False"></asp:TextBox>
                </td>
                <td class="style6">
                    <asp:Button ID="btnCheck" runat="server" Text="Check Availability" Width="117px"/>
                </td>
                <td>
                    <asp:Label ID="lblWarningName" runat="server" ForeColor="Red" Text="Label" 
                        Visible="False"></asp:Label>
                    <br />
                    <asp:Label ID="lblAvailName" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="lblFirstName" runat="server" Text="First Name"></asp:Label>
                </td>
                <td class="style5">
                    <asp:TextBox ID="tbxFirstName" runat="server" Width="223px" Enabled="False"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="lblLastName" runat="server" Text="Last Name"></asp:Label>
                </td>
                <td class="style5">
                    <asp:TextBox ID="tbxLastName" runat="server" Width="223px" Enabled="False"></asp:TextBox>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="lblDOB" runat="server" Text="Date Of Birth"></asp:Label>
                </td>
                <td class="style5">
                    <asp:TextBox ID="tbxDOB" runat="server" Width="223px" Enabled="False" 
                        ValidationGroup="DOB"></asp:TextBox></td>
                <td class="style6">
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="tbxDOB" 
                        ErrorMessage="Enter your date in the following format &quot;DD/MM/YYYY&quot;" 
                        ForeColor="Red" 
                        ValidationExpression="(0[1-9]|[12][0-9]|3[01])[-/.](0[1-9]|1[012])[-/.](19|20)\d\d" 
                        ValidationGroup="DOB"></asp:RegularExpressionValidator>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="lblGender" runat="server" Text="Gender"></asp:Label>
                </td>
                <td class="style5">
                    <asp:Label ID="lblDisplayGender" runat="server" Text="Label"></asp:Label>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="lblCountry" runat="server" Text="Country"></asp:Label>
                </td>
                <td class="style5">
                    <asp:DropDownList ID="ddlCountry" runat="server" Enabled="False">

                        <asp:ListItem>Unselected</asp:ListItem>
                        <asp:ListItem>Brunei</asp:ListItem>
                        <asp:ListItem>Burma</asp:ListItem>
                        <asp:ListItem>Cambodia</asp:ListItem>
                        <asp:ListItem>East Timor</asp:ListItem>
                        <asp:ListItem>Indonesia</asp:ListItem>
                        <asp:ListItem>Laos</asp:ListItem>
                        <asp:ListItem>Malaysia</asp:ListItem>
                        <asp:ListItem>Papua New Guinea</asp:ListItem>
                        <asp:ListItem>Philippines</asp:ListItem>
                        <asp:ListItem>Singapore</asp:ListItem>
                        <asp:ListItem>Thailand</asp:ListItem>
                        <asp:ListItem>Vietnam</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnUpdate" runat="server" Text="Update" />
        &nbsp;&nbsp;
        <asp:Button ID="btnConfirm" runat="server" Text="Confirm" />
        &nbsp;&nbsp;
        <asp:Button ID="btnDelete" runat="server" Text="Delete" />
         <table style="margin-left: 20%">
        <tr>
            <td colspan="4">
                <asp:Accordion ID="accordionChangePassword" runat="server" SelectedIndex="-1" FadeTransitions="true"
                    FramesPerSecond="40" TransitionDuration="250" AutoSize="None" RequireOpenedPane="false"
                    Width="506px">
                    <Panes>
                        <asp:AccordionPane ID="accordionChangePasswordPane" runat="server">
                            <Header>
                                <a href="" onclick="return false;" class="Link">Change password</a>
                            </Header>
                            <Content>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label>
                                        </td>
                                        <td colspan="2">
                                            <asp:TextBox ID="tbxPassword" runat="server" TextMode="Password" Width="223px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblRetypePassword" runat="server" Text="Retype Password"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxRetypePassword" runat="server" TextMode="Password" Width="223px"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="tbxPassword"
                                                ControlToValidate="tbxRetypePassword" ErrorMessage="Your password does not match"
                                                ForeColor="Red"></asp:CompareValidator>
                                        </td>
                                    </tr>
                                </table>
                                <asp:Button ID="btnChange" runat="server" Text="Change" />
                            </Content>

                        </asp:AccordionPane>
                    </Panes>
                </asp:Accordion>
            </td>
        </tr>
    </table>
    </asp:Panel>
</asp:Content>

